package com.fc.test.mapper.auto;

import com.fc.test.model.auto.PaperRecords;
import com.fc.test.model.auto.PaperRecordsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * PaperRecordsMapper
 *
 * @author 谢志恺_自动生成
 * @email 2251719256@qq.com
 * @date 2020-10-28 17:25:15
 */
public interface PaperRecordsMapper {

    long countByExample(PaperRecordsExample example);

    int deleteByExample(PaperRecordsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PaperRecords record);

    int insertSelective(PaperRecords record);

    List<PaperRecords> selectByExample(PaperRecordsExample example);

    PaperRecords selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PaperRecords record, @Param("example") PaperRecordsExample example);

    int updateByExample(@Param("record") PaperRecords record, @Param("example") PaperRecordsExample example);

    int updateByPrimaryKeySelective(PaperRecords record);

    int updateByPrimaryKey(PaperRecords record);

    List<PaperRecords> queryPaperRecords(@Param("sheetId") int sheetId);
}